package com.itfreer.cms.dictionary;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Component;

import com.itfreer.form.dictionary.LocalDictionaryBase;
import com.itfreer.form.dictionary.base.DictionaryItem;

/**
 * 工作状态字典
 */
@Component
public class NatureOfWork extends LocalDictionaryBase {

	@Override
	public String getDictionaryName() {
		return "cms_nature_work";
	}

	@Override
	protected List<DictionaryItem> getDictionarys() {
		List<DictionaryItem> list = new ArrayList<DictionaryItem>();

		DictionaryItem item = new DictionaryItem();
		item.setId("1");
		item.setCode("1");
		item.setDisplay("全职");
		item.setOrder(1);
		list.add(item);

		item = new DictionaryItem();
		item.setId("2");
		item.setCode("2");
		item.setDisplay("兼职");
		item.setOrder(2);
		list.add(item);
		
		return list;
	}

}
